package store

import (
	"context"

	"github.com/stackrox/rox/generated/storage"
)

// Store provides storage functionality for logs.
//
//go:generate mockgen-wrapper
type Store interface {
	Upsert(ctx context.Context, log *storage.LogImbue) error

	DeleteMany(ctx context.Context, ids []string) error

	Walk(ctx context.Context, fn func(obj *storage.LogImbue) error) error
}
